
rp_test(
  UNIT_TEST
  BINARY_NAME utils_single_thread
  SOURCES
    vint_test.cc
    directory_walker_test.cc
    outcome_utils_test.cc
    base64_test.cc
    timed_mutex_test
    retry_chain_node_test.cc
  LIBRARIES v::seastar_testing_main v::utils v::bytes
  ARGS "-- -c 1"
  LABELS utils
)

rp_test(
  UNIT_TEST
  BINARY_NAME utils_multi_thread
  SOURCES
    remote_test.cc
    retry_test.cc
  LIBRARIES v::seastar_testing_main
  ARGS "-- -c 2"
  LABELS utils
)

rp_test(
  UNIT_TEST
  BINARY_NAME utils_unit
  SOURCES
    string_switch_test.cc
    constexpr_string_switch.cc
    named_type_tests.cc
    tristate_test.cc
    moving_average_test.cc
    human_test.cc
  DEFINITIONS BOOST_TEST_DYN_LINK
  LIBRARIES Boost::unit_test_framework v::utils
  LABELS utils
)
